<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data }" var="data"/>
<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<title>后台登录 - 商城</title>
		<%@ include file="/common/include/title_back.jsp"%>
		<link href="${rootPath}/common/resource/H-ui.admin/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
		<link href="${rootPath}/css/common.css" rel="stylesheet" type="text/css" />
		<meta name="keywords" content="商城">
		<meta name="description" content="商城">
	</head>
	<body>
		<input type="hidden" id="TenantId" name="TenantId" value="" />
		<!-- <div class="header"></div> -->
		<div class="loginWraper">
			<div id="loginform" class="loginBox">
				<form class="form form-horizontal" action="${rootPath }/NoLoginServlet?method=adminsLoginSubmit" method="post">
					<div class="row cl">
						<label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
						<div class="formControls col-xs-8">
							<%-- <input id="" name="email" type="text" placeholder="邮箱" value="${requestScope.email }"
								class="input-text size-L"> --%>
							<%-- 为了开发时方便,不用输入用户名和密码,
								在上线的时候一定注释掉
							 --%>
							<input id="" name="email" type="text" placeholder="邮箱" value="${data.email }"
								class="input-text size-L">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
						<div class="formControls col-xs-8">
							<input id="" name="password" type="password" placeholder="密码"
								class="input-text size-L" value="">
						</div>
					</div>
					<div class="row cl">
						<div class="formControls col-xs-8 col-xs-offset-3">
							<!-- 
								size:指的是文本框的大小
								maxlength:文本框中最多输入4个字符
							 -->
							<input class="input-text size-L" type="text" placeholder="验证码"
								name="rand" style="width: 150px;" size="4" maxlength="4" value="0715">
							<a title="看不清，换一张" onclick="return refreshCode('imgCode')">
								<img id="imgCode" src="${rootPath }/CommonServlet?method=code" title="看不清，换一张" alt="看不清，换一张">
							</a>
						</div>
					</div>
					<div class="row cl">
						<div class="formControls col-xs-8 col-xs-offset-3">
							<label for="online">
								<input type="checkbox" name="online" id="online" value=""> 使我保持登录状态
							</label>
						</div>
					</div>
					<div class="row cl">
						<div class="formControls col-xs-8 col-xs-offset-3">
							<input name="" type="submit" class="btn btn-success radius size-L"
								value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
							<input name="" type="reset" class="btn btn-default radius size-L"
								value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
						</div>
					</div>
					<div class="row cl err_info">
						<div class="formControls col-xs-8 col-xs-offset-3">
							<%-- 显示出错信息 --%>
							<c:if test="${response != null && response != '' && response.info != null && response.info != '' }">
								${response.info }
							</c:if>
						</div>
					</div>
				</form>
			</div>
		</div>
		<div class="footer">Copyright 你的公司名称 by 商城</div>
		<!--此乃百度统计代码，请自行删除-->
		<script>
			var _hmt = _hmt || [];
			(function() {
				var hm = document.createElement("script");
				hm.src = "https://hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911";
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(hm, s);
			})();
		</script>
		<!--/此乃百度统计代码，请自行删除 -->
	</body>
</html>